package com.myblog.Mapper;


import com.myblog.po.Tag;
import com.myblog.po.Type;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface Tagmapper {



    void saveTag(Tag tag);



    Tag getTag(Long id);


    Tag  getTagByName(String name) ;



    List<Tag> listTag();




    void updateTag(Tag tag) ;


    public void deleteTag(Long id) ;


    public long CountTag() ;





}
